package com.hexiang.service;

import java.util.List;

import com.hexiang.domain.User;

public interface UserService {

    User findByName(String name);

    User saveByUser(User user);

    int save(String name, Integer age);

    int update(User user);

    int delete(Long id);

    List<User> findAll();

}